package com.quanyan.ic.vendingMachine.dao;

import com.quanyan.ic.vendingMachine.mapper.entity.VmUpgradeStatusEntity;
import com.quanyan.ic.vendingMachine.model.UpgradeVersionResp;

/**
 * Created by Administrator on 2017/8/23.
 */
public interface VmUpgradeDao {


    UpgradeVersionResp findUpgrade(String fileType);//返回需要更新的对象
    void insertFile(UpgradeVersionResp req);

    void insertVmUpgradeStatus(VmUpgradeStatusEntity entity);

    void updateUpgradeRecord(VmUpgradeStatusEntity vmUpgradeStatusEntity);
}
